package com.example.happ.service;

import com.example.happ.pojo.Review;
import com.example.happ.pojo.ReviewMain;

import java.util.Map;

public interface ReviewInfoService {
    double countConsumeReviewById(int type, int id);

    long countValidReviewById(int type, int id);

    Boolean addAuditRecord(Map<String, String> requestBody);

    ReviewMain getAuditRecord(Map<String, String> requestBody);

    boolean changeAuditStatus(Integer id, Integer status);

    Map<String, Object> getAuditRecordAll(Map<String, String> requestBody);

    Map<String, Object> selectAuditRecordAll(Map<String, String> requestBody);
}
